user_data = "kafka"
user_password = "123455"
count = 3
while True:
    username = input("请输入正确的账号: ")
    password = input("请输入正确的密码: ")
    count -=1

    if username == user_data:
        if password == user_password:
            print("登陆成功！",username,"使用~")
            break
        else:
            if count == 0:
                print("您的账号被锁定，请3分钟再来再尝试吧")
                break
            else:
                print("您的账号或密码不正确，请重新输入，您还有",count,"次机会")
    else:
        if count == 0:
            print ("您的账号被锁定了，要3分钟后再尝试")
            break
        else:
            print("您的账号或密码不正确，请重新输入，您还有",count,"次机会")
            week_time = int("time")
            #week_time
        if week_time == 1:
            print("09:45-12:00 python语言")
            print("12:50-14:20 写作训练")
        elif week_time == 2:
            print("08:00-09:30 形势与政策")
            print("14:30-15:55 网络广告营销")
            print("18：45-20:55 网页设计与制作")
        elif week_time == 3:
            print("08:00-09:30 网页设计与制作")
        elif week_time == 4:
            print("18:45-20:55 思想道德与法律基础")
        elif week_time == 5:
            print("14:30-15:55 手绘艺术基础")
        else:
            print("睡大觉")
